package com.situ.stmall.manager.service.impl;

import com.situ.stmall.manager.entity.User;
import com.situ.stmall.manager.service.UserService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

@Service
@AllArgsConstructor
public class UserServiceImpl implements UserService {
    @Override
    public int reg(String username, String password, String rePassword) throws Exception {
        return 0;
    }

    @Override
    public User login(User user) throws Exception {
        return null;
    }

    @Override
    public int modifyPwd(String username, String oldPasswod, String newPassword, String rePassword) throws Exception {
        return 0;
    }

    @Override
    public int edit(User user) throws Exception {
        return 0;
    }

    @Override
    public int modifyPayPwd(String username, String password, String payPassword, String rePassword) throws Exception {
        return 0;
    }
}
